//
//  ZXSaleBeforeView.m
//  qianke
//
//  Created by ZX on 2017/7/18.
//  Copyright © 2017年 ZX. All rights reserved.
//

#import "ZXSaleBeforeView.h"

@implementation ZXSaleBeforeView
-(void)awakeFromNib{
    [super awakeFromNib];
    _accountBalanceLabel.text = my_AppDelegate.accountBalance;
    _ownFundsLabel.text = my_AppDelegate.ownFunds;
    _threePartyFundsLabel.text = my_AppDelegate.threePartyFunds;
////    NSLog(@"_threePartyFunds_threePartyFunds%@",_threePartyFundsLabel.text);
////    NSLog(@"_threePartyFunds%@",_threePartyFunds);
//    //  /  售前店长右上
//       NSURL *url = [NSURL URLWithString:string];
//    NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:10.0];
//    [request addValue:my_AppDelegate.access_token forHTTPHeaderField:accessTokenKey];
//    
//    [HTTPHelper GetHeadmutableRequest:request success:^(NSDictionary *data) {    
////        dispatch_async(dispatch_get_main_queue(), ^{
//            _accountBalanceLabel.text = [NSString stringWithFormat:@"%@", [[data objectForKey:@"data"]objectForKey:@"accountBalance"]];
//            _ownFundsLabel.text = [NSString stringWithFormat:@"%@",[[data objectForKey:@"data"]objectForKey:@"ownFunds"]];
//            _threePartyFundsLabel.text = [NSString stringWithFormat:@"%@",[[data objectForKey:@"data"]objectForKey:@"threePartyFunds"]];
////        });
//        
//    } failure:^(NSError *error) {
//        
//    }];
//    

}

@end
